package StudyCode.summary.Basic.myint;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class OctalToInteger {
	public static void main(String[] args) {
		String strOctalNumber = "10";
		int decimalNumber = Integer.parseInt(strOctalNumber, 8);
		System.out.println("八进制数" + strOctalNumber + " 转为十进制是:" + decimalNumber);
	}
}
